<template>
  <div id="tab-bar">
    <div class="left"><slot name="item-left"></slot></div>
    <div class="center"><slot name="item-center"></slot></div>
    <div class="right"><slot name="item-right"></slot ></div>
  </div>
</template>

<script>
    export default {
        name: "NavBar"
    }
</script>

<style scoped>
  #tab-bar{
    display: flex;
    height: 48px;
    line-height: 48px;
    text-align: center;
    box-shadow: 0 1px 1px rgba(100,100,100,0.1);
    z-index: 9999;
  }

  .left{
    width: 60px;
    /*background: #ff5777;*/
  }

  .right{
    width: 60px;
    /*background-color: aquamarine;*/
  }
  .center{
    flex: 1;
  }
</style>
